package org.dromara.work.domain.bo;


import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;



@Data
public class DmGeoSaveBo {

    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private String id;

    @NotNull(message = "空间信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String geom;

    @NotBlank(message = "地名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    @NotBlank(message = "编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String code;

    private String dmlbdm;

    private String submitId;
}
